package com.pay.constants;

/**
 * @Description: Redis key常量
 * @see: RedisKeyConstants 此处填写需要参考的类
 * @version 2016年10月11日 上午11:54:27
 * @author shulin.feng
 */
/**
 * @author jinlei.liao
 *
 */
public class RedisKeyConstants {

	public final static String CUSTOMER_PREFIX = "CUSTOMER_";// 客户前缀 CUSTOMER_
	public final static String CUSTOMER_NO = "NO";// 客户编号 NO
	public final static String OPENID_CUSTOMERNO_KEY = "OPENID_CUSTOMERNO_KEY";// openid对应商编
	public final static String CUSTOMER_CREATE_TIME = "CREATE_TIME";// 客户创建时间
	public final static String CUSTOMER_SMS_KEY = "CUSTOMER_SMS_KEY";// 找回密码短信验证码
	public final static String CUSTOMER_SMS_AUTH = "CUSTOMER_SMS_AUTH";// 找回密码短信验证码
	public static final String KY_ACCESS_TOKEN = "KY_ACCESS_TOKEN";// accessToken
	public static final String KY_API_TICKET = "KY_API_TICKET";// apiTicket
	public static final String TAKE_QUESTION_SWITCH = "TAKE_QUESTION_SWITCH"; // 问卷调查开关
	public static final String KF_CLOSE_EVALUATE = "KF_CLOSE_EVALUATE"; // 关闭客服评价
	public static final String KF_REFRESH = "KF_REFRESH"; // 启用客服刷新
	public static final String KF_REFRESHFRE = "KF_REFRESHFRE";// 刷新频次限制
	public static final String KF_WAITCASE_COUNT = "KF_WAITCASE_COUNT";// 在线客服未接入会话

	public static final String QUESTION_TIME_MESSAGE = "QUESTION_TIME_MESSAGE";// 调查问卷结束消息

	/** 队列 */
	public static final String KFSESSION_GETWAITCASE_QUEUE = "KFSESSION_GETWAITCASE_QUEUE"; // 未接入会话队列key
	public static final String MENU_CLICK_EVENT_QUEUE = "MENU_CLICK_EVENT_QUEUE";// 菜单点击事件队列
	public static final String WX_SHARE_RECEIVER_QUEUE = "WX_SHARE_RECEIVER_QUEUE";// 微信接收分享队列
	public static final String WX_SHARE_SENDER_QUEUE = "WX_SHARE_SENDER_QUEUE";// 微信发送分享队列
	public static final String WX_ENTERPRISE_PAY_FAIL_QUEUE = "WX_ENTERPRISE_PAY_FAIL_QUEUE";// 微信企业付款失败队列

	public static final String WX_SHARE_ARTICLE_PAGENAME = "WX_SHARE_ARTICLE_PAGENAME";// 微信分享页key
	public static final String ZD_SHARE_SWITCH = "ZD_SHARE_SWITCH";// 微信账单活动开启-结束开关

	public static final String SYSTEM_VARIBLE_WXCUSTFRONT = "SYSTEM_VARIBLE_WXCUSTFRONT";// 系统变量
	public static final String GIVE_TICKET_PRICE = "GIVE_TICKET_PRICE";// 小票纸价格-单价
	public static final String TICKET_RECEIVE_INFO = "TICKET_RECEIVE_INFO";// 小票纸下单TicketReceiveInfo对象
	public static final String SIM_RECEIVE_INFO = "SIM_RECEIVE_INFO";// SIM下单SimReceiveInfo对象

	public static final String NEW_YEAR_SWITCH = "NEW_YEAR_SWITCH";// 年会活动开启-结束开关
	public static final String NEW_YEAR_CURRENT_PROGRAM_INFO = "NEW_YEAR_CURRENT_PROGRAM_INFO";// 当前节目信息
	public static final String NEW_YEAR_OPENID_PROGRAM_COMMONT = "NEW_YEAR_OPENID_PROGRAM_COMMONT";// 用户投票信息
	public static final String NEW_YEAR_OPENID_WISHS_MINI_QUEUE = "NEW_YEAR_OPENID_WISHS_MINI_QUEUE";// 新年祝福每分钟队列
	public static final String NEW_YEAR_OPENID_WISHS_ALL_QUEUE = "NEW_YEAR_OPENID_WISHS_ALL_QUEUE";// 新年祝福总队列
	public static final String NEW_YEAR_OPENID_WISHS_MINI_OPENID_QUEUE = "NEW_YEAR_OPENID_WISHS_MINI_OPENID_QUEUE";// 新年祝福每分钟个人队列
	public static final String NEW_YEAR_PROGRAM_COMMONTS = "NEW_YEAR_PROGRAM_COMMONTS";// 节目投票结果

	public static final String RED20170001 = "RED20170001";// 收银员红包KEY
	public static final String CASHIER_CUST_NO = "CASHIER_CUST_NO";// //收银员红包商编
	public static final String ENTERPRISE_PARTNERTRAD_NO = "ENTERPRISE_PARTNERTRAD_NO";// 领取付款成功的商户编号
	public static final String ENTERPRISE_PAY_BILL_NO = "ENTERPRISE_PAY_BILL_NO";// 创建付款订单

	/** MQ key值 */
	public static final String ONLINE_ORDER_WX_NOTIFY = "ONLINE_ORDER_WX_NOTIFY_";// 线上交易MQkey
	public static final String TRANS_ORDER_WX_NOTIFY = "TRANS_ORDER_WX_NOTIFY_";// 交易MQkey
	public static final String TRANS_ORDER_REFUND_WX_NOTIFY = "TRANS_ORDER_REFUND_WX_NOTIFY";// 交易退货MQkey
	public static final String CUSTOMER_STATUS_WX_NOTIFY = "CUSTOMER_STATUS_WX_NOTIFY_";// 商户状态MQkey
	/** 微信推送key值 */
	public static final String SETTLERECORD_WX_PUSH = "SETTLERECORD_WX_PUSH_";// 微信推送结算记录key
	public static final String TEMPLATE_WX_PUSH = "TEMPLATE_WX_PUSH_";// 微信推送消息key
	public static final String CUSTOMER_TRANS_DAYS_WX_PUSH = "CUSTOMER_TRANS_DAYS_WX_PUSH_";// 微信推送交易日汇总消息key

	/** 活动 */
	public static final String SUBSCRIBE_ACTIVITY = "SUBSCRIBE_ACTIVITY_";// 关注活动

	/**
	 * openId对应所有商户hash
	 */
	public static final String MULT_ACCOUNT_OPENID_USERNOS = "MULT_ACCOUNT_OPENID_USERNOS_";// openId对应所有商户hash
	/**
	 * openId对应所有需要一键绑定的商户
	 */
	public static final String MULT_ACCOUNT_OPENID_NOOPEN_USERNOS = "MULT_ACCOUNT_OPENID_NOOPEN_USERNOS_";
	/**
	 * openId对应默认商户
	 */
	public static final String MULT_ACCOUNT_DEFAULT_OPENID_USERNO = "MULT_ACCOUNT_DEFAULT_OPENID_USERNO_";
	/**
	 * 商户对应openid
	 */
	public static final String MULT_ACCOUNT_USERNO_OPENID = "MULT_ACCOUNT_USERNO_OPENID_";
	public static final String MULT_ACCOUNT_USERNO_OPENID_WX = "MULT_ACCOUNT_USERNO_OPENID_WX_";// openid对应微信信息key

	/**
	 * 活动编号对应营销活动outerAppId
	 */
	public static final String ACTIVITY_NO_MARKPLAN_OUTERAPPID = "ACTIVITY_NO_MARKPLAN_OUTERAPPID_";

	/**
	 * 用户签到记录 时效一天
	 */
	public static final String SIGN_OPENID = "SIGN_OPENID_";

	/**
	 * 查询某接口次数限制前缀
	 */
	public static final String LIMIT_NUBMBERS_QUERY = "LIMIT_NUBMBERS_QUERY_";

	/**
	 * 新人海量红包,一个商户只能发一次活动图文
	 */
	public static final String NEW_USER_MORE_REDPACKET_NEWS = "NEW_USER_MORE_REDPACKET_NEWS_";
	
	/**
	 * 大转盘存放概率的key
	 */
	public static final String NEW_USER_BIG_TURNTABLE = "NEW_USER_BIG_TURNTABLE";
	
	/**
	 * 新人专享存放概率的key
	 */
	public static final String NEW_USER_MONE_REDPACKET = "NEW_USER_MONE_REDPACKET";
	
	/**
	 * 新人大转盘处理两次提交订单
	 */
	public static final String NEW_USER_TURNTABLE_ISFIRST = "NEW_USER_TURNTABLE_ISFIRST_";
	/**
	 * 收银员大转盘处理两次提交订单
	 */
	public static final String CASHIER_TURNTABLE_ISFIRST = "CASHIER_TURNTABLE_ISFIRST_";

	/**实体bean缓存key*/
	public static final String MENU_INFO_BEAN_MENUNO = "MENU_INFO_BEAN_MENUNO_";//菜单编码对应菜单信息
	/**
	 * 5月点钞狂欢节,一个商编号只能领取一次红包
	 */
	public static final String MAY_COUNTING_CARNIVAL_AMOUNT = "MAY_COUNTING_CARNIVAL_AMOUNT_";
	/**
	 * 参与码领红包,一个商编号只能领取一次红包
	 */
	public static final String CODELOTTERY_ACTIVITY_GETREDPACKET = "CODELOTTERY_ACTIVITY_GETREDPACKET_";
	
	/**redis计数 */
	public static final String ACTIVITY_OPENID_TO_ACTIVITYID = "ACTIVITY_OPENID_TO_ACTIVITYID_";//单个活动统一微信号参与次数
	public static final String WX_ENTERPRISE_FAIL_COUNT_PARTNERNO = "WX_ENTERPRISE_FAIL_COUNT_PARTNERNO_";//订单号付款失败次数
	
	/** 商户是否弹出展示优惠券*/
	public static final String CUSTOMER_EASYBUY_POP_COUPON_STATUS = "CUSTOMER_POP_COUPON_STATUS_";
	/** 不同商户等级，轻松购banner图片地址不一样*/
	public static final String CUSTOMER_EASYBUY_BANNER_IMG_URL = "CUSTOMER_EASYBUY_BANNER_IMG_URL_";
	/** 新版交易查询*/
	public static final String NEW_VERSION_ORDER_LIST = "cfe58170766c4ef0bb7814b744978222";
	/** 新版交易查询跳转地址*/
	public static final String TO_TRADE_MAIN_LIST_JSP = "cfe5zoo29dmz6c4efCjs7814b7449522";
	
	/**
	 * 商户敬语
	 */
	public static final String CUSTOMER_LEVEL_HONORIFIC = "CUSTOMER_LEVEL_HONORIFIC_";
	
	/**
	 * 商户小票纸打印名称
	 */
	public static final String CUSTOMER_PRINT_NAME = "CUSTOMER_PRINT_NAME_";
	 
	/**
	 * 交易通知模版消息
	 */
	public static final String TRADE_TEMPLATE_POS_ORDER = "TRADE_TEMPLATE_POS_ORDER";
	public static final String TRADE_TEMPLATE_POS_ORDER_URL = "TRADE_TEMPLATE_POS_ORDER_URL";
	
	/**
	 * 收款成功通知模板
	 */
	public static final String TRADE_TEMPLATE_ONLINE_ORDER = "TRADE_TEMPLATE_ONLINE_ORDER";
	public static final String TRADE_TEMPLATE_ONLINE_ORDER_URL = "TRADE_TEMPLATE_ONLINE_ORDER_URL";
	
	/**
	 * 交易日汇总消息模版
	 */
	public static final String TRADE_TEMPLATE_REMARK = "TRADE_TEMPLATE_REMARK";
	public static final String TRADE_TEMPLATE_REMARK_URL = "TRADE_TEMPLATE_REMARK_URL";
	
	 
	/**
	 * 商户不同等级发的优惠券
	 */
	public static final String CUSTOMER_LEVEL_COUPON_ID = "CUSTOMER_LEVEL_COUPON_ID_";
	
	/**
	 * 重定向url版本号控制
	 */
	public static final String REDIRECT_URL_VERSION = "REDIRECT_URL_VERSION";
	/**
	 * 商户发送优惠券状态
	 */
	public static final String GIVE_CUSTOMER_COUPON_STATUS = "GIVE_CUSTOMER_COUPON_STATUS";
	/**
	 * 赠送SIM卡活动错误页
	 */
	public static final String GIVE_SIMCARD_ERROR_PAGE = "GIVE_SIMCARD_ERROR_PAGE";
	/**
	 * 赠送SIM卡活动结束页
	 */
	public static final String GIVE_SIMCARD_OVER_PAGE = "GIVE_SIMCARD_OVER_PAGE";
	/**
	 * 赠送SIM卡领取页
	 */
	public static final String GIVE_SIMCARD_RECEIVE_PAGE = "GIVE_SIMCARD_RECEIVE_PAGE";
	/**
	 * 已经领取过SIM卡页
	 */
	public static final String GIVE_SIMCARD_ALREADY_RECEIVE_PAGE = "GIVE_SIMCARD_ALREADY_RECEIVE_PAGE";
	/**
	 * 防止活动重复领取
	 */
	public static final String ACTIVITY_REPEAT_RECEIVE_CHECK = "ACTIVITY_REPEAT_RECEIVE_CHECK_";
	/**
	 * 商户同步缓存
	 */
	public static final String MIGRATION_CUSTOMER_DATA = "MIGRATION_CUSTOMER_DATA_";
	/**
	 * 商户编号对应服务商编号
	 */
	public static final String WX_CUSTOMERNO_AGENTNO = "WX_CUSTOMERNO_AGENTNO_";
	 
}
